package nc.ui.pf.changedir;

import nc.bs.pf.change.ConversionPolicyEnum;
import nc.bs.pf.change.VOConversion;
import nc.vo.pf.change.UserDefineFunction;

public class CHGXHHTTO30 extends VOConversion
{
  public String getAfterClassName()
  {
    return null;
  }

  public String getOtherClassName() {
    return null;
  }

  public ConversionPolicyEnum getConversionPolicy() {
    return ConversionPolicyEnum.BILLITEM_BILLITEM;
  }

  public String[] getField() {
    return new String[] { 
      "H_cbiztype->H_pk_busitype", 
      "H_ccurrencytypeid->H_coin", 
      "H_ccustomerid->H_purchcode", 
      "H_cdeptid->H_depart", 
      "H_contracttype->H_saletype",
      "H_coperatorid->H_coperatorid", 
      "H_creceiptcorpid->H_purchcode", 
      "H_creceipttype->H_totype", 
      "H_csalecorpid->H_csalecorpname", 
      "H_pk_corp->H_pk_corp", 
      "H_pk_contract->H_pk_contract", 
      "H_ts->H_ts", 
      "H_evaluatevalue->H_sumamount",
      "H_sendcompany->H_bargainor",
      "H_concode->H_concode", 
      "H_version->H_version", 
      "H_storage->H_pk_storedoc", 
      "B_ccurrencytypeid->H_coin", 
      "B_cinvbasdocid->B_pk_invbasdoc", 
      "B_cinventoryid->B_pk_invbasdoc", 
      "B_crowno->B_rowno", 
      "B_dconsigndate->B_dconsigndate", 
      "B_ddeliverdate->B_ddeliverdate", 
      "B_nnumber->B_carrynum", 
      "B_noriginalcurmny->B_noriginalcursummny", 
      "B_noriginalcurnetprice->B_nsummny", 
      "B_noriginalcurprice->B_nsummny", 
      "B_noriginalcursummny->B_amount", 
      "B_noriginalcurtaxmny->B_noriginalcurtaxmny", 
      "B_noriginalcurtaxnetprice->B_price", 
      "B_noriginalcurtaxprice->B_price", 
      "B_nsummny->B_amount", 
      "B_ntaxrate->B_ntaxrate", 
      "B_pk_corp->B_pk_corp", 
      "B_ts->B_ts", 
      "B_boxcode->B_pk_boxmodel",
      "H_cwarehouseid->H_pk_storedoc",
     "B_csourcebillbodyid->B_pk_contract_b",
     "B_csourcebillid->H_pk_contract"
    
      };
  }

  public String[] getAssign() {
    return new String[] { "H_editionnum->1.0","B_creceipttype->XHHT"};
  }

  public String[] getFormulas() {
    return new String[] { "H_dbilldate->date();", 
      "H_dmakedate->date();", 
      "H_ccalbodyid->getColValue(bd_stordoc,pk_calbody ,pk_stordoc ,H_pk_storedoc);" };
  }

  public UserDefineFunction[] getUserDefineFunction() {
    return null;
  }
}